
set1=set()
for a in range(0,3):
    s = input("请输入字符串")
    set1.add(s)
s = input("请输入字符串")
for a in s:
     set1.add(a)
# 遍历
for b in set1:
    print(b)